package com.kaigejava.rulesengine.engine.fact;

import lombok.Data;
import lombok.ToString;

import java.io.Serializable;

/**
 * response code
 *      0:ok
 *      500:system error
 *      501:RulesEngine no start
 *      501:RulesEngine busy
 *      502:ruleType error
 *      503:can not get session
 *      504:parameter error
 * @param <T>
 * @author kaigejava
 */
@Data
@ToString(callSuper = true)
public class EngineResponse<T> implements Serializable {
    Long code;
    String message;
    T data;
}
